'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router,controller } = app;

  const { news } = controller.api;

  
  router.post('/news/getNewsByPage/:page', news.getNewsByPage);
};
